package com.heyu.cgsd.config;

import com.heyu.cgsd.util.SharedPreferencesUtil;

/**
 * CreateName : Z-JC
 * Date : 2019/10/14
 * Describe :
 */
public class CgsdConfig {

    /**
     * 查看是否同意隐私政策
     *
     * @return
     */
    public static boolean getAgreed() {
        return SharedPreferencesUtil.getBoolean("agreed");
    }

    /**
     * 设置是否同意隐私政策
     *
     * @param install
     */
    public static void setAgreed(boolean install) {
        SharedPreferencesUtil.setBoolean("agreed", install);
    }
}